package com.UnionPayCenter.entity;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: UnionPayCenter
 * @description: 运营场景
 * @author BaoJF
 *
 */
@EqualsAndHashCode(callSuper = false)
@Data
@Table(name = "operation_scenes")
public class OperationScenes extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty(value = "编号")
    @Column(name = "ops_id")
    private Integer opsId;

    @Column(name = "shop_id")
    @ApiModelProperty(value = "对应店铺id")
    private Integer shopId;
    
    @Column(name = "ops_name")
    @ApiModelProperty(value = "场景名称")
    private String opsName;
    
    @Column(name = "type")
    @ApiModelProperty(value = "场景类型：1-注册成功;2-充值成功")
    private Integer type;
    
    @Column(name = "amount")
    @ApiModelProperty(value = "充值满送金额(单位：分)")
    private Integer amount;
}
